package com.ruoyi.detailed.mapper;

import java.util.List;
import com.ruoyi.detailed.domain.Detailed;

/**
 * 积分明细查询Mapper接口
 * 
 * @author 秦永昆
 * @date 2023-02-12
 */
public interface DetailedMapper 
{
    /**
     * 查询积分明细查询
     * 
     * @param detailedId 积分明细查询主键
     * @return 积分明细查询
     */
    public Detailed selectDetailedByDetailedId(Long detailedId);

    /**
     * 查询积分明细查询列表
     * 
     * @param detailed 积分明细查询
     * @return 积分明细查询集合
     */
    public List<Detailed> selectDetailedList(Detailed detailed);
    public List<Detailed> listUserDetailed(Detailed detailed);

    /**
     * 新增积分明细查询
     * 
     * @param detailed 积分明细查询
     * @return 结果
     */
    public int insertDetailed(Detailed detailed);

    /**
     * 修改积分明细查询
     * 
     * @param detailed 积分明细查询
     * @return 结果
     */
    public int updateDetailed(Detailed detailed);

    /**
     * 删除积分明细查询
     * 
     * @param detailedId 积分明细查询主键
     * @return 结果
     */
    public int deleteDetailedByDetailedId(Long detailedId);

    /**
     * 批量删除积分明细查询
     * 
     * @param detailedIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDetailedByDetailedIds(Long[] detailedIds);
}
